Skip to content

Fatal type error with ssdb-server >1.9.7#699

Merged
Geolim4 merged 2 commits intoTruCopilot:masterfrom
dmz86:patch-1
Aug 2, 2019
Merged

Fatal type error with ssdb-server >1.9.7#699
Geolim4 merged 2 commits intoTruCopilot:masterfrom
dmz86:patch-1

Conversation

@dmz86
Copy link
Copy Markdown
Contributor

@dmz86 dmz86 commented Aug 2, 2019

On this version the server return 0 or 1

Proposed changes

In version 1.9.7 of ssdb, it replies with an integer instead of a Bolean generating the following error:
"Return value of Phpfastcache Drivers SSdb Driver :: driverWrite () must be of the type boolean, integer returned"

Types of changes

What types of changes does your code introduce to Phpfastcache?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves an existing code/behavior)
  • Deprecated third party dependency update
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation/Typo/Resource update that does not involve any code modification

Agreement

I have read the CONTRIBUTING and CODING GUIDELINE docs

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

On this version the server return 0 or 1
@Geolim4
Copy link
Copy Markdown
Member

Geolim4 commented Aug 2, 2019

Hello,

Thanks you for your contribution !
I'll merge it once the tests pass !

Cheers,
Georges

In version 1.9.7 of ssdb, it replies with an integer instead of a Bolean generating the following error:
"Return value of Phpfastcache Drivers SSdb Driver :: driverDelete () must be of the type boolean, integer returned"
and
"Return value of Phpfastcache Drivers SSdb Driver :: driverClear () must be of the type boolean, integer returned"
@dmz86
Copy link
Copy Markdown
Contributor Author

dmz86 commented Aug 2, 2019

I made the same fix for the methods:
driverDelete and driverClear.
sorry for the double commit

@Geolim4
Copy link
Copy Markdown
Member

Geolim4 commented Aug 2, 2019

I made the same fix for the methods:
driverDelete and driverClear.
sorry for the double commit

Don't worry, I'll squash them :)

@Geolim4 Geolim4 merged commit 347a04b into TruCopilot:master Aug 2, 2019
@dmz86 dmz86 deleted the patch-1 branch August 2, 2019 08:18
@Geolim4
Copy link
Copy Markdown
Member

Geolim4 commented Aug 2, 2019

I'll make a new release by the end of week, meanwhile you can use dev-master :)

@Geolim4 Geolim4 changed the title ssdb-server 1.9.7 Fatal type error with ssdb-server >1.9.7 Sep 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants